package game.leon.seawar.server.handler;

import game.leon.engine.net.GameSession;
import game.leon.engine.net.GateSession;
import game.leon.seawar.vo.RemoteMessage;

import java.io.IOException;

/**
 * User: bianpeng
 * Date: 11-12-29
 */
interface Handler <T> {
    RemoteMessage handle(GameSession session, int message, T data) throws IOException;
}
